/* ===================================================================
   活动效果评估页面样式
   基于Apple Design System
   版本：v1.0
   创建时间：2025-07-20
=================================================================== */

/* 页面布局继承主样式 */
.main-content {
    margin-left: 240px;
    margin-top: 60px;
    padding: var(--spacing-6);
    min-height: calc(100vh - 60px);
}

/* 页面头部 */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--spacing-6);
}

.header-left {
    flex: 1;
}

.page-title {
    font-size: var(--font-size-large-title);
    font-weight: var(--font-weight-bold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-3);
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.activity-basic {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.activity-name {
    font-size: var(--font-size-title-2);
    font-weight: var(--font-weight-semibold);
    color: var(--apple-blue);
}

.activity-status.status-completed {
    background-color: rgba(52, 199, 89, 0.1);
    color: #248A3D;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-caption-1);
    font-weight: var(--font-weight-medium);
}

.activity-details {
    display: flex;
    gap: var(--spacing-4);
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
}

.header-right {
    display: flex;
    gap: var(--spacing-3);
    margin-top: var(--spacing-1);
}

/* 评估导航 */
.evaluation-nav-section {
    margin-bottom: var(--spacing-6);
}

.evaluation-nav {
    display: flex;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background-color: var(--system-background);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.nav-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    background: none;
    border: 1px solid var(--separator-opaque);
    border-radius: var(--radius-large);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
}

.nav-step:hover {
    border-color: var(--apple-blue);
    background-color: rgba(0, 122, 255, 0.05);
}

.nav-step.active {
    border-color: var(--apple-blue);
    background-color: var(--apple-blue);
    color: white;
    box-shadow: var(--shadow-medium);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-large);
    background-color: var(--fill-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--label-secondary);
    transition: all var(--transition-fast);
}

.nav-step.active .step-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: var(--font-size-headline);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-1);
}

.step-subtitle {
    font-size: var(--font-size-subhead);
    opacity: 0.8;
}

/* 评估内容区域 */
.evaluation-content {
    background-color: var(--system-background);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
    overflow: hidden;
}

.content-section {
    padding: var(--spacing-6);
}

.content-section + .content-section {
    border-top: 1px solid var(--separator-non-opaque);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-6);
    padding-bottom: var(--spacing-4);
    border-bottom: 1px solid var(--separator-non-opaque);
}

.section-title {
    font-size: var(--font-size-title-2);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
}

.time-range {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
}

/* 核心指标 */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-4);
}

.metric-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-5);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    position: relative;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.metric-card.highlight {
    border: 2px solid var(--apple-blue);
    background-color: rgba(0, 122, 255, 0.05);
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-large);
    background-color: var(--apple-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.metric-content {
    flex: 1;
}

.metric-number {
    font-size: var(--font-size-title-1);
    font-weight: var(--font-weight-bold);
    color: var(--label-primary);
    line-height: 1.1;
}

.metric-label {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    margin: var(--spacing-1) 0;
}

.metric-detail {
    font-size: var(--font-size-caption-1);
    color: var(--label-tertiary);
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
    font-size: var(--font-size-caption-1);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-medium);
}

.metric-trend.positive {
    color: var(--apple-green);
    background-color: rgba(52, 199, 89, 0.1);
}

.metric-trend.negative {
    color: var(--apple-red);
    background-color: rgba(255, 59, 48, 0.1);
}

/* 分析网格 */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-5);
}

.analysis-card {
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-5);
}

.analysis-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-title-3);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-4);
    padding-bottom: var(--spacing-2);
    border-bottom: 2px solid var(--separator-non-opaque);
}

.analysis-title .text-green { color: var(--apple-green); }
.analysis-title .text-blue { color: var(--apple-blue); }
.analysis-title .text-purple { color: var(--apple-purple); }

.analysis-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

/* 参与情况分解 */
.participation-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.breakdown-label {
    font-size: var(--font-size-subhead);
    color: var(--label-primary);
    font-weight: var(--font-weight-medium);
}

.breakdown-value {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
}

.breakdown-bar {
    height: 8px;
    background-color: var(--fill-secondary);
    border-radius: var(--radius-small);
    overflow: hidden;
    margin-top: var(--spacing-1);
}

.bar-fill {
    height: 100%;
    background-color: var(--apple-blue);
    transition: width 0.5s ease;
}

.bar-fill.orange { background-color: var(--apple-orange); }
.bar-fill.red { background-color: var(--apple-red); }
.bar-fill.gray { background-color: var(--label-quaternary); }

/* 人群统计 */
.demographic-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.demo-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.demo-label {
    font-size: var(--font-size-subhead);
    font-weight: var(--font-weight-medium);
    color: var(--label-primary);
}

.demo-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.demo-detail span {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
}

/* 时间线分析 */
.timeline-analysis {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-3);
    padding: var(--spacing-3);
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
}

.timeline-time {
    font-size: var(--font-size-caption-1);
    font-weight: var(--font-weight-semibold);
    color: var(--apple-blue);
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: var(--font-size-subhead);
    font-weight: var(--font-weight-medium);
    color: var(--label-primary);
    margin-bottom: var(--spacing-1);
}

.timeline-metrics {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
}

/* 成本效益分析 */
.cost-benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5);
}

.cost-card,
.benefit-card {
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-5);
}

.cost-title,
.benefit-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-title-3);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-4);
}

.cost-breakdown,
.benefit-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.cost-item,
.benefit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-2) 0;
    border-bottom: 1px solid var(--separator-non-opaque);
}

.cost-item:last-child,
.benefit-item:last-child {
    border-bottom: none;
}

.cost-item.total,
.benefit-item.total {
    border-top: 2px solid var(--separator-opaque);
    padding-top: var(--spacing-3);
    font-weight: var(--font-weight-semibold);
}

.cost-label,
.benefit-label {
    color: var(--label-primary);
}

.cost-value,
.benefit-value {
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
}

.benefit-note {
    font-size: var(--font-size-caption-1);
    color: var(--label-tertiary);
    margin-left: var(--spacing-2);
}

.roi-summary {
    margin-top: var(--spacing-4);
    padding-top: var(--spacing-4);
    border-top: 1px solid var(--separator-non-opaque);
}

.roi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2);
}

.roi-label {
    color: var(--label-secondary);
}

.roi-value {
    font-size: var(--font-size-headline);
    font-weight: var(--font-weight-bold);
}

.roi-value.positive {
    color: var(--apple-green);
}

/* 满意度调查 */
.satisfaction-overview {
    margin-bottom: var(--spacing-6);
}

.satisfaction-stats {
    display: flex;
    gap: var(--spacing-6);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-5);
}

.satisfaction-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.chart-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--apple-green) 0deg 313deg, var(--fill-secondary) 313deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-3);
}

.chart-container::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--system-background-secondary);
    border-radius: 50%;
}

.satisfaction-score {
    font-size: var(--font-size-title-1);
    font-weight: var(--font-weight-bold);
    color: var(--apple-green);
    z-index: 1;
}

.chart-legend {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    text-align: center;
}

.satisfaction-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.satisfaction-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.satisfaction-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-subhead);
    font-weight: var(--font-weight-medium);
    color: var(--label-primary);
}

.satisfaction-bar {
    position: relative;
    height: 24px;
    background-color: var(--fill-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.satisfaction-bar .bar-fill {
    height: 100%;
    background-color: var(--apple-green);
    border-radius: var(--radius-full);
}

.bar-label {
    position: absolute;
    right: var(--spacing-3);
    font-size: var(--font-size-caption-1);
    color: var(--label-primary);
    font-weight: var(--font-weight-medium);
}

/* 反馈分类 */
.feedback-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5);
}

.feedback-category {
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-5);
}

.category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-title-3);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-4);
}

.category-title .text-yellow { color: var(--apple-orange); }

/* 评分项目 */
.rating-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-3);
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
}

.rating-label {
    font-size: var(--font-size-subhead);
    color: var(--label-primary);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: var(--apple-orange);
    font-size: 14px;
}

.rating-score {
    font-size: var(--font-size-subhead);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
}

/* 反馈消息 */
.feedback-messages {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.feedback-message {
    padding: var(--spacing-4);
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--separator-opaque);
}

.feedback-message.positive {
    border-left-color: var(--apple-green);
}

.feedback-message.neutral {
    border-left-color: var(--apple-orange);
}

.feedback-message.negative {
    border-left-color: var(--apple-red);
}

.message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-2);
}

.customer-name {
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
}

.message-type {
    font-size: var(--font-size-caption-1);
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-small);
    background-color: var(--fill-secondary);
    color: var(--label-secondary);
}

.message-content {
    font-size: var(--font-size-body);
    color: var(--label-primary);
    line-height: 1.4;
    margin-bottom: var(--spacing-2);
}

.message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-caption-1);
    color: var(--label-tertiary);
}

.message-rating {
    color: var(--apple-orange);
}

.view-all-feedback {
    width: 100%;
}

/* 跟进任务管理 */
.followup-overview {
    margin-bottom: var(--spacing-6);
}

.followup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-4);
}

.followup-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
}

.followup-stat .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-large);
    background-color: var(--apple-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.followup-stat .stat-content {
    flex: 1;
}

.followup-stat .stat-number {
    font-size: var(--font-size-title-2);
    font-weight: var(--font-weight-bold);
    color: var(--label-primary);
    line-height: 1;
}

.followup-stat .stat-label {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
    margin-top: var(--spacing-1);
}

/* 跟进管理 */
.followup-management {
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-5);
}

.followup-filters {
    margin-bottom: var(--spacing-4);
}

.filter-tabs {
    display: flex;
    gap: var(--spacing-2);
    background-color: var(--fill-secondary);
    border-radius: var(--radius-medium);
    padding: 2px;
}

.filter-tab {
    background: none;
    border: none;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-small);
    color: var(--label-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-subhead);
}

.filter-tab.active {
    background-color: var(--system-background);
    color: var(--apple-blue);
    box-shadow: var(--shadow-small);
}

/* 跟进列表 */
.followup-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-4);
}

.followup-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background-color: var(--system-background);
    border: 1px solid var(--separator-opaque);
    border-radius: var(--radius-large);
    transition: all var(--transition-normal);
}

.followup-item:hover {
    box-shadow: var(--shadow-medium);
}

.followup-item.urgent {
    border-color: var(--apple-red);
    background-color: rgba(255, 59, 48, 0.05);
}

.followup-item.high-intent {
    border-color: var(--apple-green);
    background-color: rgba(52, 199, 89, 0.05);
}

.followup-priority {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: var(--spacing-2);
}

.followup-priority i {
    font-size: 16px;
    color: var(--label-tertiary);
}

.followup-item.urgent .followup-priority i {
    color: var(--apple-red);
}

.followup-item.high-intent .followup-priority i {
    color: var(--apple-green);
}

.followup-customer {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    min-width: 180px;
}

.followup-customer .customer-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--apple-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-headline);
}

.customer-info {
    flex: 1;
}

.followup-customer .customer-name {
    font-weight: var(--font-weight-medium);
    color: var(--label-primary);
    margin-bottom: 2px;
}

.customer-detail {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
}

.followup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.followup-title {
    font-size: var(--font-size-headline);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
}

.followup-desc {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    line-height: 1.4;
}

.followup-tags {
    display: flex;
    gap: var(--spacing-1);
    flex-wrap: wrap;
}

.followup-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.tag.tag-high-intent {
    background-color: rgba(52, 199, 89, 0.1);
    color: #248A3D;
}

.tag.tag-normal {
    background-color: var(--fill-secondary);
    color: var(--label-secondary);
}

.tag.tag-method {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--apple-blue-dark);
}

.followup-schedule {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
    min-width: 120px;
    align-items: flex-end;
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
}

.schedule-status {
    font-size: var(--font-size-caption-1);
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-small);
    font-weight: var(--font-weight-medium);
}

.schedule-status.overdue {
    background-color: rgba(255, 59, 48, 0.1);
    color: #D70015;
}

.schedule-status.upcoming {
    background-color: rgba(255, 149, 0, 0.1);
    color: #B25000;
}

.schedule-status.scheduled {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--apple-blue-dark);
}

.followup-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.followup-actions .action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background-color: var(--fill-quaternary);
    color: var(--label-secondary);
    border-radius: var(--radius-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.followup-actions .action-btn:hover {
    background-color: var(--apple-blue);
    color: white;
    transform: translateY(-1px);
}

.followup-actions .action-btn.primary {
    background-color: var(--apple-blue);
    color: white;
}

.followup-actions .action-btn.primary:hover {
    background-color: var(--apple-blue-dark);
}

.load-more {
    text-align: center;
}

/* 销售机会转化 */
.conversion-pipeline {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-5);
    padding: var(--spacing-4);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    overflow-x: auto;
}

.pipeline-stage {
    flex: 1;
    min-width: 200px;
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
    padding: var(--spacing-4);
    border: 2px solid var(--separator-opaque);
}

.pipeline-stage.success {
    border-color: var(--apple-green);
    background-color: rgba(52, 199, 89, 0.05);
}

.stage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-3);
    padding-bottom: var(--spacing-2);
    border-bottom: 1px solid var(--separator-non-opaque);
}

.stage-title {
    font-size: var(--font-size-headline);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
}

.stage-count {
    font-size: var(--font-size-caption-1);
    background-color: var(--apple-blue);
    color: white;
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
}

.stage-customers {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.customer-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-small);
}

.customer-card .customer-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--apple-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-subhead);
}

.customer-card .customer-info {
    flex: 1;
}

.customer-card .customer-name {
    font-size: var(--font-size-caption-1);
    font-weight: var(--font-weight-medium);
    color: var(--label-primary);
    margin-bottom: 2px;
}

.opportunity-value {
    font-size: var(--font-size-caption-1);
    color: var(--apple-green);
    font-weight: var(--font-weight-semibold);
}

.customer-status {
    font-size: 10px;
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-small);
    font-weight: var(--font-weight-medium);
}

.customer-status.high {
    background-color: rgba(52, 199, 89, 0.1);
    color: #248A3D;
}

.customer-status.medium {
    background-color: rgba(255, 149, 0, 0.1);
    color: #B25000;
}

.customer-status.success {
    background-color: rgba(52, 199, 89, 0.1);
    color: #248A3D;
}

.stage-more {
    font-size: var(--font-size-caption-1);
    color: var(--label-tertiary);
    text-align: center;
    padding: var(--spacing-1);
}

.pipeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--label-tertiary);
    font-size: 20px;
    margin-top: var(--spacing-8);
}

/* 转化总结 */
.conversion-summary {
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-4);
}

.summary-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
}

.summary-item {
    text-align: center;
    padding: var(--spacing-3);
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
}

.summary-label {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
    margin-bottom: var(--spacing-1);
}

.summary-value {
    font-size: var(--font-size-title-2);
    font-weight: var(--font-weight-bold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-1);
}

.summary-detail {
    font-size: var(--font-size-caption-1);
    color: var(--label-tertiary);
}

/* 总结概览 */
.summary-overview {
    margin-bottom: var(--spacing-6);
}

.summary-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-4);
    padding: var(--spacing-5);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    border-left: 4px solid var(--separator-opaque);
}

.highlight-item.success {
    border-left-color: var(--apple-green);
}

.highlight-item.warning {
    border-left-color: var(--apple-orange);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-top: var(--spacing-1);
}

.highlight-item.success .highlight-icon {
    background-color: rgba(52, 199, 89, 0.1);
    color: var(--apple-green);
}

.highlight-item.warning .highlight-icon {
    background-color: rgba(255, 149, 0, 0.1);
    color: var(--apple-orange);
}

.highlight-content {
    flex: 1;
}

.highlight-title {
    font-size: var(--font-size-title-3);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-2);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    margin-bottom: var(--spacing-1);
    position: relative;
    padding-left: var(--spacing-3);
}

.highlight-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--apple-blue);
    font-weight: bold;
}

/* 改进部分 */
.improvement-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.improvement-section {
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-large);
    padding: var(--spacing-5);
}

.improvement-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-title-2);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-4);
    padding-bottom: var(--spacing-3);
    border-bottom: 2px solid var(--separator-non-opaque);
}

.improvement-title .text-yellow { color: var(--apple-orange); }

.improvement-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.improvement-item {
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
    padding: var(--spacing-4);
    border: 1px solid var(--separator-opaque);
}

.improvement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-3);
}

.improvement-category {
    font-size: var(--font-size-subhead);
    font-weight: var(--font-weight-semibold);
    color: var(--apple-blue);
}

.improvement-priority {
    font-size: var(--font-size-caption-1);
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-small);
    font-weight: var(--font-weight-medium);
}

.improvement-priority.high {
    background-color: rgba(255, 59, 48, 0.1);
    color: #D70015;
}

.improvement-priority.medium {
    background-color: rgba(255, 149, 0, 0.1);
    color: #B25000;
}

.improvement-priority.low {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--apple-blue-dark);
}

.improvement-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.improvement-suggestion {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--label-primary);
}

.improvement-reason {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    font-style: italic;
}

.improvement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-1);
    margin-top: var(--spacing-2);
}

.action-item {
    font-size: var(--font-size-caption-1);
    background-color: var(--fill-secondary);
    color: var(--label-secondary);
    padding: 2px var(--spacing-1);
    border-radius: var(--radius-small);
}

/* 洞察网格 */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-4);
}

.insight-card {
    display: flex;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-large);
    background-color: var(--apple-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.insight-content {
    flex: 1;
}

.insight-title {
    font-size: var(--font-size-headline);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-1);
}

.insight-text {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    margin-bottom: var(--spacing-2);
}

.insight-action {
    font-size: var(--font-size-caption-1);
    color: var(--apple-blue);
    font-weight: var(--font-weight-medium);
}

/* 行动计划 */
.action-plan {
    background-color: var(--system-background);
    border-radius: var(--radius-medium);
    padding: var(--spacing-4);
}

.plan-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.plan-timeline .timeline-item {
    display: flex;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    border-left: 3px solid var(--apple-blue);
    background-color: var(--system-background-secondary);
    border-radius: var(--radius-medium);
}

.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.date-day {
    font-size: var(--font-size-title-2);
    font-weight: var(--font-weight-bold);
    color: var(--apple-blue);
    line-height: 1;
}

.date-month {
    font-size: var(--font-size-caption-1);
    color: var(--label-secondary);
}

.plan-timeline .timeline-content {
    flex: 1;
}

.plan-timeline .timeline-title {
    font-size: var(--font-size-headline);
    font-weight: var(--font-weight-semibold);
    color: var(--label-primary);
    margin-bottom: var(--spacing-2);
}

.timeline-tasks {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.task-item {
    font-size: var(--font-size-subhead);
    color: var(--label-secondary);
    padding-left: var(--spacing-3);
    position: relative;
}

.task-item::before {
    content: '□';
    position: absolute;
    left: 0;
    color: var(--apple-blue);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
        padding: var(--spacing-4);
    }
    
    .page-header {
        flex-direction: column;
        gap: var(--spacing-4);
        align-items: stretch;
    }
    
    .header-right {
        justify-content: flex-end;
    }
    
    .evaluation-nav {
        flex-direction: column;
    }
    
    .metrics-grid,
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .cost-benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-categories {
        grid-template-columns: 1fr;
    }
    
    .followup-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-highlights {
        grid-template-columns: 1fr;
    }
    
    .summary-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-step {
        flex-direction: column;
        text-align: center;
    }
    
    .satisfaction-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .followup-stats {
        grid-template-columns: 1fr;
    }
    
    .followup-item {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-3);
    }
    
    .followup-customer,
    .followup-schedule {
        min-width: auto;
    }
    
    .followup-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .conversion-pipeline {
        flex-direction: column;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
        margin: var(--spacing-2) 0;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .improvement-header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-2);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: var(--spacing-3);
    }
    
    .evaluation-content {
        border-radius: var(--radius-medium);
    }
    
    .content-section {
        padding: var(--spacing-4);
    }
    
    .followup-item {
        padding: var(--spacing-3);
    }
    
    .improvement-item {
        padding: var(--spacing-3);
    }
}